package cn.bon.websocket.handler;

import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import lombok.extern.slf4j.Slf4j;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2023/12/11 8:47
 **/
@Slf4j
public class DefaultWebsocketStartSuccessHandler implements WebsocketStartSuccessHandler{
    private EventLoopGroup bossEventLoopGroup;
    private EventLoopGroup workerEventLoopGroup;
    public DefaultWebsocketStartSuccessHandler(EventLoopGroup bossEventLoopGroup,EventLoopGroup workerEventLoopGroup){
        this.bossEventLoopGroup = bossEventLoopGroup;
        this.workerEventLoopGroup = workerEventLoopGroup;
    }
    @Override
    public void onSuccess() {
        log.info("websocket服务启动成功");
    }
}
